import { NavigateFunction } from "react-router-dom";

interface GlobalData {
  navigate: NavigateFunction;
  userId: string;
}

// 全局变量
const globalData: GlobalData = {
  navigate: null,
  userId: "",
}

export default globalData;